#ifndef  __CC_BYTEFIFO_H__
#define __CC_BYTEFIFO_H__

/****	Public header file	*/
#include "./cc_type.h"

/****	define */
#define CFG_BYTE_FIFO    

/***	struct define	*/
typedef struct CC_Byte_FIFO_V4 		tBFIFO;

#ifdef CFG_BYTE_FIFO
extern tBFIFO* BFIFO_Create(uint32_t bufsize);
extern uint32_t BFIFO_Write(tBFIFO* pObj,uint32_t dLen,uint8_t* pPkg);
extern uint32_t BFIFO_Read(tBFIFO* pObj,uint32_t readNum, uint8_t* pRBuf);
extern uint32_t BFIFO_GetRecvNum(tBFIFO* pObj);
extern int BFIFO_Reset(tBFIFO* pObj);
extern void BFIFO_ShowObj(tBFIFO* pObj);
#endif

#endif 
